package com.zc.ai;

import cn.hutool.http.HttpUtil;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class AiApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(AiApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.setProperty("java.net.useSystemProxies", "true");
        System.setProperty("https.proxyHost", "127.0.0.1");
        System.setProperty("https.proxyPort", "7890");

    }
}
